<?php
declare(strict_types=1);

namespace app\admin\service;

use app\admin\model\ResourceCheckPath as ResourceCheckPathModel;

class ResourceCheckPathService
{
    /**
     * 审核社群资源图
     * @param $where
     * @return array
     * @throws \think\db\exception\DataNotFoundException
     * @throws \think\db\exception\DbException
     * @throws \think\db\exception\ModelNotFoundException
     */
    public static function getResourceCheckPath($where)
    {
        return ResourceCheckPathModel::getResourceCheckPath($where);
    }

    /**
     * 创建审核社群资源图
     * @param $data
     * @return ResourceCheckPathModel|\think\Model
     */
    public static function createResourceCheckPath($data)
    {
        return ResourceCheckPathModel::createResourceCheckPath($data);
    }

    /**
     * 删除审核社群资源图
     * @param $where
     * @return bool
     */
    public static function delResourceCheckPath($where)
    {
        return ResourceCheckPathModel::delResourceCheckPath($where);
    }
}